<?php

/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Sitealbum
 * @copyright  Copyright 2010-2011 BigStep Technologies Pvt. Ltd.
 * @license    http://www.socialengineaddons.com/license/
 * @version    $Id: index.tpl 2011-08-026 9:40:21Z SocialEngineAddOns $
 * @author     SocialEngineAddOns
 */
?>
<?php 
	$this->headLink()
  ->appendStylesheet($this->layout()->staticBaseUrl
    . 'application/modules/Sitealbum/externals/styles/style_sitealbum.css')
?>
<ul class="generic_list_widget">
	<li>
		<div>
		  <?php echo $this->htmlLink($this->albumOfDay->getHref(), $this->itemPhoto($this->albumOfDay), array('title' => $this->albumOfDay->getTitle())); ?>
		</div>
		<div class="title">
		  <?php echo $this->htmlLink($this->albumOfDay->getHref(), $this->albumOfDay->getTitle(), array('title' => $this->albumOfDay->getTitle())); ?>
		</div>
		<div class="owner">
		  <?php
		  $owner = $this->albumOfDay->getOwner();
		  echo $this->translate('By %1$s', $this->htmlLink($owner->getHref(), $owner->getTitle()));
		  ?>
		  &bull; <?php echo $this->translate(array('%s photo', '%s photos', $this->albumOfDay->count()), $this->locale()->toNumber($this->albumOfDay->count())); ?>
		</div>
	</li>
</ul>		